﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ScriptEditor.Commands
{
    class Command_Param : Command
    {
        public string expression
        {
            get
            {
                return Value1;
            }
            set
            {
                Value1 = value;
            }
        }
        public Command_Param()
        {
            CommandType = COMMANDTYPE.Param;
            expression = "请输入表达式";
            Wait = true;
        }
        public Command_Param(string Expression)
        {
            CommandType = COMMANDTYPE.Param;
            expression = Expression;
            Wait = true;
        }
        public override string ToString()
        {
            return CommandType.ToString() + ":\n" + "变量修改:" + expression;
        }
    }
}
